<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:74:"D:\wamp\www\shop\public/../application/madmin\view\WechatKey\showList.html";i:1548406932;s:71:"D:\wamp\www\shop\public/../application/madmin\view\Public\showBase.html";i:1547543098;}*/ ?>
<!DOCTYPE HTML>
<html>
	<head>
		<title>后台管理</title>
	    <meta name="viewport" content="width=device-width, initial-scale=1.0">
	    <meta charset="UTF-8" />
	    <link rel="icon" type="image/ico" href="__IMG__/favicon.ico" />
	    <link type="text/css" rel="stylesheet" href="__CSS__/vendor/bootstrap/bootstrap.min.css" />
	    <link type="text/css" rel="stylesheet" href="__CSS__/content.css" />
		<link type="text/css" rel="stylesheet" href="__CSS__/vendor/font-awesome.css" />
		<link type="text/css" rel="stylesheet" href="__CSS__/vendor/bootstrap-checkbox.css" />
		<link type="text/css" rel="stylesheet" href="__JS__/vendor/chosen/css/chosen.min.css" />
		<link type="text/css" rel="stylesheet" href="__JS__/vendor/chosen/css/chosen-bootstrap.css" />
		<link type="text/css" rel="stylesheet" href="__CSS__/nicescroll.css" />
        <link type="text/css" rel="stylesheet" href="__CSS__/adapt.css" />
        <link type="text/css" rel="stylesheet" href="__CSS__/pagination.css" />
        <link type="text/css" rel="stylesheet" href="__CSS__/buttons.css" />
		<script type="text/javascript" src="__JS__/jquery-3.3.1.min.js"></script>
		<script type="text/javascript" src="__JS__/vendor/layer/layer.js"></script>
		<script type="text/javascript" src="__JS__/vendor/bootstrap/bootstrap.min.js"></script>
		<script type="text/javascript" src="__JS__/vendor/nicescroll/jquery.nicescroll.min.js"></script>
		<script type="text/javascript" src="__JS__/vendor/chosen/chosen.jquery.min.js"></script>
		<script type="text/javascript" src="__JS__/content.js"></script>
	</head>
	<body class="no-bg">
		<div id="wrap">
	        <div class="row">
	            <div id="content" class="col-md-12">
	            	
<div class="main">
    <div class="row">
        <div class="col-md-12">
            <section class="tile color transparent-black">
                <div class="tile-header">
                    <h1><?php echo lang('WxTwLb'); ?></h1>
                    <div class="controls">
                        <a href="<?php echo url('WechatKey/showAdd'); ?>"><i class="fa fa-plus"></i></a>
                        <a href="<?php echo url('WechatKey/showList'); ?>"><i class="fa fa-refresh"></i></a>
                    </div>
                </div>
                <div class="tile-widget bg-transparent-black-2">
                    <div class="row">
                        <div class="col-sm-12">
                            <form class="search-form" action="" method="get">
                                <div class="form-group col-sm-2">
                                    <select class="chosen-select chosen-transparent form-control" name="input_type">
                                        <option value=""><?php echo lang('XtSsTjLx'); ?></option>
                                        <option value="key_id" <?php if($input_type == 'key_id'): ?>selected<?php endif; ?>><?php echo lang('WxTwId'); ?></option>
                                        <option value="key_name" <?php if($input_type == 'key_name'): ?>selected<?php endif; ?>><?php echo lang('WxTwGjz'); ?></option>
                                    </select>
                                </div>
                                <div class="form-group col-sm-2">
                                    <input type="text" class="form-control" name="input_text" value="<?php echo $input_text; ?>" placeholder="<?php echo lang('XtSsTjNr'); ?>" />
                                </div>
                                <div class="form-group col-sm-2">
                                    <select class="chosen-select chosen-transparent form-control" name="key_type">
                                        <option value=""><?php echo lang('WxTwLx'); ?></option>
                                        <option value="1" <?php if($key_type == '1'): ?>selected<?php endif; ?>><?php echo lang('WxTwLx1'); ?></option>
                                        <option value="2" <?php if($key_type == '2'): ?>selected<?php endif; ?>><?php echo lang('WxTwLx2'); ?></option>
                                    </select>
                                </div>
                                <div class="form-group col-sm-2">
                                    <button type="button" class="btn btn-<?php echo config('CNF_BTNCOLOR'); ?>" style="width: 100%" id="Search" data-url="<?php echo url('WechatKey/showList'); ?>"><?php echo lang('Search_Submit'); ?></button>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
                <div class="table-responsive">
                    <div class="tile-body nopadding">
                        <table class="table table-bordered table-custom">
                            <thead>
                            <tr>
                                <th>
                                    <div class="checkbox check-transparent">
                                        <input type="checkbox" id="allchck">
                                        <label for="allchck"></label>
                                    </div>
                                </th>
                                <th><?php echo lang('WxTwId'); ?></th>
                                <th><?php echo lang('WxTwGjz'); ?></th>
                                <th><?php echo lang('WxTwLx'); ?></th>
                                <th><?php echo lang('WxTwZt'); ?></th>
                                <th><?php echo lang('List_Handle'); ?></th>
                            </tr>
                            </thead>
                            <tbody>
                                <?php if(!(empty($Lists) || (($Lists instanceof \think\Collection || $Lists instanceof \think\Paginator ) && $Lists->isEmpty()))): if(is_array($Lists) || $Lists instanceof \think\Collection || $Lists instanceof \think\Paginator): $key = 0; $__LIST__ = $Lists;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($key % 2 );++$key;?>
                                        <tr>
                                            <td>
                                                <div class="checkbox check-transparent">
                                                    <input type="checkbox" value="<?php echo $vo['key_id']; ?>" id="chck<?php echo $key; ?>">
                                                    <label for="chck<?php echo $key; ?>"></label>
                                                </div>
                                            </td>
                                            <td><?php echo $vo['key_id']; ?></td>
                                            <td><?php echo $vo['key_name']; ?></td>
                                            <td><?php echo lang('WxTwLx'.$vo['key_type']); ?></td>
                                            <td><?php echo lang('WxTwZt'.$vo['key_state']); ?></td>
                                            <td class="actions">
                                                <a class="edit" href="<?php echo url('WechatKey/showEdit',array('id'=>$vo['key_id'])); ?>">
                                                    <i class="fa fa-pencil fa-lg fa-fw"></i>
                                                </a>
                                                <a class="delete ajax-handle" href="javascript:void(0);" data-url="<?php echo url('WechatKey/showDel'); ?>" data-ids="<?php echo $vo['key_id']; ?>">
                                                    <i class="fa fa-trash fa-lg fa-fw"></i>
                                                </a>
                                            </td>
                                        </tr>
                                    <?php endforeach; endif; else: echo "" ;endif; else: ?>
                                    <tr>
                                        <td colspan="20"><?php echo lang('List_Empty'); ?></td>
                                    </tr>
                                <?php endif; ?>
                            </tbody>
                        </table>
                    </div>
                    <div class="col-sm-12">&nbsp;</div>
                </div>
                <div class="tile-footer bg-transparent-black-2 rounded-bottom-corners">
                    <div class="row">
                        <div class="col-sm-12 text-center">
                            <?php if(!(empty($Lists) || (($Lists instanceof \think\Collection || $Lists instanceof \think\Paginator ) && $Lists->isEmpty()))): ?>
                                <?php echo $Lists->render(); endif; ?>
                        </div>
                    </div>
                </div>
            </section>
        </div>
    </div>
</div>

	        	</div>
	        </div>
	    </div>
		
    <script>
        $(function(){
            
        })
    </script>

	</body>
</html>